 <link href="<?= STATICURL; ?>css/bootstrap.min.css" rel="stylesheet" />
    <link id="bootstrap-rtl-link" href="" rel="stylesheet" />
    <link href="<?= STATICURL; ?>css/font-awesome.min.css" rel="stylesheet" />
    <link href="<?= STATICURL; ?>css/weather-icons.min.css" rel="stylesheet" />
    <!--Fonts-->
    <!--Beyond styles-->
    <link id="beyond-link" href="<?= STATICURL; ?>css/beyond.min.css" rel="stylesheet" type="text/css" />
    <link href="<?= STATICURL; ?>css/demo.min.css" rel="stylesheet" />
    <link href="<?= STATICURL; ?>css/typicons.min.css" rel="stylesheet" />
    <link href="<?= STATICURL; ?>css/animate.min.css" rel="stylesheet" />
    <link id="skin-link" href="" rel="stylesheet" type="text/css" />
    <div class="page-content">
        <div class="page-body">
            <div id="horizontal-form">
                    <form class="form-horizontal" role="form">
                       
                        <div class="row">
                            <div class="col-md-7">
                                <input class="form-control js_content" type="text" value="<?=$carousel_row['content']?>" placeholder="收入奖励广告轮播文字">
                                <div class="horizontal-space"></div>
                            </div>
                        </div>
                        
                        <div class="horizontal-space"></div>
                        <div style="clear: both">
                            <span id="js_submit" class="btn btn-default">修 改</span>
                        </div>
                    </form>
                </div>
        </div>
<script src="<?php echo STATICURL; ?>js/jquery-2.0.3.min.js"></script>
<script src="<?php echo STATICURL; ?>js/bootstrap.min.js"></script>
<script src="<?php echo STATICURL; ?>layer/layer.js"></script>
<?php require_once ADMINVIEWPATH.'admin_footer.php'; ?>

<script>
  $(document).ready(function(){
    	
 		$("#js_submit").click(function(){
 			var content = $(".js_content").val();
			if(content == "")
			{
				layer.msg("内容不能为空");return false;
			}
			$.post("/luckydog/point/do_edit", {content:$(".js_content").val(),id:"<?=$carousel_row['id']?>"}, function(data) {				
				if (data.status) {
					layer.msg(data.message);
					window.parent.location.reload();
				}else{
					layer.msg(data.message);
				}
			}, "json");
 		});
	});
</script>
</script>


